<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f1f1f1;
            background-image: linear-gradient(to bottom, #f1f1f1, #e1e1e1);
        }

        .container {
            max-width: 500px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            border-radius: 5px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .header {
            text-align: center;
            margin-bottom: 20px;
        }

        .header h1 {
            font-size: 24px;
            color: #333;
            margin: 0;
        }

        .button {
            text-align: center;
            margin-bottom: 10px;
        }

        .button form {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .button form input[type="submit"] {
            height: 40px;
            width: 120px;
            font-size: 16px;
            background-color: #4CAF50;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .button form input[type="submit"]:hover {
            background-color: #45a049;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="header">
            <h1>登录界面</h1>
            <hr>
        </div>
        <div class="button">
            <form action="/login/" method="POST" autocomplete="off">
                {% csrf_token %}
                <input type="submit" id="login" value="登录">
            </form>
        </div>
        <div class="button">
            <form action="/register/" method="POST">
                {% csrf_token %}
                <input type="submit" id="register" value="注册">
            </form>
        </div>
    </div>
</body>

</html>